<style>
    .examBox {
        padding: 0 30px;
    }
</style>

<template>
    <div>
        <product-title></product-title>
        <div class="examBox ">
            <div>
                <h3 class="search-h3 huang"></h3>
            </div>
            <Row>
                <Col style="text-align:right" class="mb20">
                <!-- <Button type="success" icon="plus" size="large">新增</Button> -->
                </Col>
            </Row>
            <Row>
                <div class="table-theme highlight_table">
                    <Table :columns="column" :data="data" size="large" stripe highlight-row border></Table>
                </div>
            </Row>

        </div>
    </div>
</template>

<script>
    import productTitle from '../../components/productTitle'
    import {
        get_indicators
    } from '../../api/rule.js'
    import util from '../../libs/util.js';
    export default {
        data() {
            return {
                column: [{
                        type: 'index',
                        title: '序号',
                        align: 'center',
                        width: '80'
                    },
                    {
                        key: 'name',
                        title: '考核项目',
                        align: 'center'
                    }, {
                        key: 'remark',
                        title: '备注',
                        align: 'center'
                    }
                ],
                data: [],
            }
        },
        components: {
            productTitle
        },
        created() {
            this.getList();
        },
        methods: {
            getList() {
                let url=BASE_URL1+"/kb/v1/rule/assess/template/"
                util.ajax.get(url,{}).then(res=>{
                    if(res.data.err==0){
                        this.data = res.data.data;
                    }else{
                        this.$Message.success('数据出错');
                    }
                })
            }
        }

    }
</script>